import CryptoJS from "crypto-js";
import BaseUrl from "./BaseUrl";

/**
 * 重置密码，旧平台
 */
export default class passwordReset extends BaseUrl{
    userId;
    newUserPassword;
    verifyCode;
    constructor(userId, newUserPassword, verifyCode) {
        super();
        this.userId = userId;
        this.newUserPassword = CryptoJS.MD5(newUserPassword);
        this.verifyCode = verifyCode;
    }

    getParamMethod(){
        return "passwordReset";//passwordResetByPlt 新
    }
}